package bat.iog.hytool.pattern.behavioral.observer.demo;

public class Test {
    public static void main(String[] args){

        Monitable mt=new Monitable();

        mt.addListener(new IListener()); //添加监听器

        mt.init();

        mt.destroy();

    }

}
